{% include "front/header.html" %}

<div id="Body">
<div id="Content">
<h1>{{ search }}的搜索结果</h1>
<ul class="DataList SearchResults">
{% for post in post_list.data %}
<li class="Comment Mine" id="Comment_4">
   <div class="CommentScore">主题:<a title="查看主题{{ post.subject }}" href="index.php?action=viewthread&tid={{ post.tid }}">{{ post.subject }}</a></div>   <ul class="Options">
      <li><strong>Options</strong>
         <ul>
            <li><a href="/bbs/vanilla/post/editcomment/4" class="EditComment">Edit</a></li>         </ul>

      </li>
   </ul>
         <ul class="Info">
      <li class="Author">
         <a href="{{ BBS_WEB_ROOT }}profile.php?author={{ first_post.authorid }}">{{ post.author }}</a>      
	  </li>
      <li class="Created">
      回复时间 {{ post.dateline }}    
	  </li>

         </ul>
   <div class="Body">{{ post.message }}</div>
</li>
{% endfor %}
<!-- BEGIN pager -->
<script src="{{ BBS_WEB_ROOT }}js/page.js" language="javascript"></script>
<script language="javascript">
recordCount = {{post_list.recordCount}}; //总记录数
show = {{post_list.pageSize}}; //每页显示的记录数量
pageShow = 10; //每页显示的分页连接数量
pageCount = {{post_list.pageCount}}; //总页数
pageNow = {{post_list.page}}; //当前页数
search='{{search}}';
pageStr = "search.php?search="+search+"&page=_page_"; //页面连接

document.write(showListPage(recordCount, show, pageShow, pageCount, pageNow, pageStr));
</script>
<!-- END pager -->
</ul>
</div>
<div id="Panel"></div>

</div>
{% include "front/footer.html" %}